<?php

$config['all_permissions'] = array(
    array(
	'controller' => '帐号管理',
	'actions' => array(
	    array('name' => '查看界面', 'path' => '/user/index'),
	    array('name' => '查看列表', 'path' => '/user/records'),
	    array('name' => '添加', 'path' => '/user/insert'),
	    array('name' => '修改', 'path' => '/user/update'),
	    array('name' => '冻结', 'path' => '/user/freeze'),
	    array('name' => '解冻', 'path' => '/user/unfreeze')
	)
    ),
    array(
	'controller' => '权限分组管理',
	'actions' => array(
	    array('name' => '查看界面', 'path' => '/permission_group/index'),
	    array('name' => '查看内容', 'path' => '/permission_group/records'),
	    array('name' => '添加', 'path' => '/permission_group/insert'),
	    array('name' => '修改', 'path' => '/permission_group/update'),
	    array('name' => '删除', 'path' => '/permission_group/delete')
	)
    ),
    array(
	'controller' => '图片管理',
	'actions' => array(
	    array('name' => '查看界面', 'path' => '/image/index'),
	    array('name' => '查看内容', 'path' => '/image/records'),
	    array('name' => '添加', 'path' => '/image/insert'),
	    array('name' => '修改表单', 'path' => '/image/edit'),
	    array('name' => '修改', 'path' => '/image/update'),
	    array('name' => '删除', 'path' => '/image/delete')
	)
    )
);


//图片分类尺寸合集
$config['image_types'] = array(
    array('name' => '员工头像', 'sizes' => '150_150,30_30')
);

//文件系统支持的文件类型
$config['file_types'] = array('folder', 'image');

//轮播图片关联类型
$config['slide_show_types'] = array('首页', '关于我们', '服务');

//服务栏目分类
$config['service_categories'] = array(
    array(
	'id' => 1,
	'name_zh' => '实践领域',
	'name_fr' => 'Practice field',
	'name_en' => 'Practice field'
    ),
    array(
	'id' => 2,
	'name_zh' => '市场领域',
	'name_fr' => 'Market Sector',
	'name_en' => 'Market Sector'
    )
);